#define _CRT_SECURE_NO_WARNINGS 1
#include <string.h>
#include <stdio.h>
#include <assert.h> 
//char* strcpy(char* destination, const char* source);

char* my_strcpy(char* dest, const char* src)
{
	char* ret = dest;
	assert(dest != NULL);
	assert(src != NULL);

	while ((*dest++ = *src++))
	{
		;
	}
	return ret;
}
int main()
{
	char arr[] = "qwe";
	char x[20] = "a ";
	my_strcpy(arr,x);
	printf("%s", arr);
	return 0;
}